home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
gfx
/
opal
/
ChromaCTRL.lha
/
chroma.doc
next >
Wrap
Text File
|
1993-02-09
|
8KB
|
212 lines
ChromaCtrl
This is a loadable mode.
The ChromaCtrl mode is a specialized mapping and
manipulating module, allowing radical changes or fine
tuning of the colour information within an image area. It
provides a graphical view of colour maps, although the
operations performed by the sliders in this mode are
optimized for the processing of non-linear maps and are
thus slightly different from the functions described in
the Reference Manual. It also allows unlimited
customization by allowing freehand "painting" of each
colour map. This mode is very similar to the ChromaCtrl
module will be released as part of the OpalVision Video
Processor software, and the Colourmaps are in fact
interchangeable.
At any time the menu can be hidden by hitting the F10
key. This allows you to preview the changes you have made
on the whole image. Hit F10 again to reinstate the menu.
The two buttons at the top left of the menu contain the
names of the "Edit Map" and the "Morph Map". The
ChromaCtrl preferences maintains a list of Colourmaps
made up from a (possibly) larger set held in the
OpalPaint:ColorMaps directory. Each time you click one of
these buttons it will cycle to the next Colourmap in the
list. (See the Load and Save buttons below for more
details on setting up and maintaining the list of
Colourmaps.)
The Edit Map (the one named on the left) is the one being
edited by the sliders and drawings described below, while
use of the Morph Map is described below in the section on
the Morph slider.
Channel Buttons and Mini-Maps
A ChromaCtrl "Colourmap" in fact contains three separate
maps - one for each colour Channel being Red, Green and
Blue. Each Channel has its own miniature colour map or
histogram display called a Mini-Map. These are to be
found along the top of the menu. The button above each
one both names the Mini-map and shows which colour
Channels are affected by the current operation performed
with the sliders. Any combination of one, two or three
colour channels may be selected by clicking its name
button, although of course at least one must be selected
at any one time.
The Main Map
Any one of the Mini-Maps can be chosen for display and
direct editing in the Main Map by clicking on the chosen
Mini-Map. As you move the pointer over the Main Map you
will see the input and output values displayed
numerically under the map, and at any point you can
"draw" on the Main Map to dynamically change the colour
curve for the selected channel(s).
Use the Left Mouse Button to freehand draw and the Right
Mouse Button to draw straight lines on the map.
Copy Map
Use the Copy Map button to duplicate the Colour Map from
one Channel to another.
To copy the Colourmap for one Channel to another,
Select the Source Channel by clicking on its Mini-
Map
Click the Copy button. The pointer will now show
the word "TO" next to it.
Click the Mini-Map for the Destination Channel.
Shear Slider
This slider rotates (changes the slope of) the colour
maps of the selected colour channel(s) up and down
through a range of -99% to +99%. A Value of 0 is neutral.
Offset Slider
This slider moves the colour maps of the selected colour
channel(s) up and down.
In terms of the generalized "straight-line" colour maps
described in the Reference Manual, the offset slider is
most like a Brilliance manipulation.
The slider moves the offset of the selected colour
channel(s) through a range of -99% to +99%. A Value of 0
is neutral.
Gain Slider
This slider adjust the gain or "amplification" of the
selected colour channel(s). This is similar to a contrast
adjustment, but is more suited to the modification of
"curvy" colour maps.
This slider will increase and decrease the Gain of the
selected colour channel(s) through a range of -99% to
+99%. A Value of 0 is neutral.
Morph Slider
This slider will gradually "morph" the selected colour
map(s) between the Current edited settings (the "Edit
Map") and the "Morph Map". The output value for each
input value is moved evenly between its levels for each
map as the slider is moved from left to right.
Posterise Slider
The Posterise slider introduces "steps" into the colour
curve of the selected channels to reduce the number of
final colours in the image. This works by mapping ranges
of input values to the same output value.
Invert
The Invert Button takes the maps for the selected
Channels and swaps them vertically. It is easier to see
this graphically, so select, say, the Gamma map, hit the
button and view the result.
Flip
The Flip button takes the maps for the selected Channels
and swaps them horizontally. Just as with Invert, give it
a try.
This can be useful when you wish to, say, shear a colour
map around the right end of the line. You can flip the
map, do the shear, then flip the map back again.
Apply
The Shear, Offset, Gain, Morph and Posterise sliders make
temporary changes to the stored colour maps and these
changes are represented visually both in the map displays
and via the Preview as a change to the image. If you have
introduced changes to the display by moving one or more
sliders, these changes can be made "permanent" to the map
by hitting the Apply button. The sliders will then be
zeroed and further changes can be made as required.
Reset.
The Reset button returns the maps for all Channels to the
values last loaded (or saved) for that Colourmap. A
requester will appear asking you to confirm the reset.
New
The New button sets the maps of the selected Channels to
a 45§ (Input=Output) line like the Standard Colourmap.
This is mostly of use when you wish to create a brand-new
colour map and need to start with a clean slate.
Preview
If you hit the preview button the main ChromaCtrl menu
will be replaced with a small, repositionable menu with
sliders that are exactly the same as those on the main
ChromaCtrl menu. To return to the main menu, hit the OK
(to retain any slider settings) or Cancel (to ignore any
changes to slider settings).
Histogram
A histogram is a graph showing the relative frequency of
each input value in the image.
It can be useful in gaining some idea of how the colours
are distributed and provide a guide to possible actions
that will correct imbalances or produce certain effects.
When the Histogram button is depressed each Mini-Map will
show a frequency histogram for a single Channel and the
selected Mini-Map will be reproduced in the Main Map area
for greater detail. The image processing sliders
described below will be immediately reflected in the
histograms of selected Channels. You cannot directly edit
the Main Map in Histogram mode.
Zap
The Zap button works like all other zap buttons in
OpalPaint and applies the Colourmap to the whole image
regardless of the actual painting area. See the Reference
Manual for a full description of the Zap function.
Load
The Load button allows you to load new Colourmaps. A
requester will appear asking you whether you wish to
replace the Edit Colour Map or add a new map to the
Colour Map List (those displayed when cycling the Edit
Map and Morph Map buttons). You will then see a standard
OpalVision file requester that allows you to choose a new
colourmap.
Save
The Save button allows you to save the contents of the
Edit Map for later reloading. Once again you will see a
standard OpalVision file requester so you can specify the
directory (usually OpalPaint:Colourmaps) and a Colourmap
name.
Keyboard Shortcuts
F10 : Toggle Hide/Show ChromaCtrl Requester.
Note that the sliders, buttons and Main-Map painting area are
still active when the menu is hidden so you
can still move them and edit Colourmaps
while viewing the image.
Del : Toggle Hide/Show Cursor while painting
Tab : Switch Edit Map and Morph Map
i : Invert
f : Flip
a : Apply
r : Reset
n : New
u : Undo
RETURN : OK
: Go to next Colormap
: Go to previous Colormap
Amiga-h: Toggle histogram on/off
Amiga-l : Load
Amiga-s: Save
Amiga-p: Preview
Amiga-z: Zap
Amiga-v : OK
Amiga-b: Cancel